package com.yzmoney.wechat.model.reply;

import org.eclipse.persistence.oxm.annotations.XmlCDATA;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;

/*
<item>
<Title><![CDATA[title1]]></Title> 
<Description><![CDATA[description1]]></Description>
<PicUrl><![CDATA[picurl]]></PicUrl>
<Url><![CDATA[url]]></Url>
</item> 
*/
@XmlType(propOrder={"title","description","picUrl","url"})
public class Item {
	@XmlCDATA
	@XmlElement(name="Title")
	private String title;			//  否  图文消息标题  
	
	@XmlCDATA
	@XmlElement(name="Description")
	private String description;		//  否  图文消息描述  
	
	@XmlCDATA
	@XmlElement(name="PicUrl")
	private String picUrl;			//  否  图片链接，支持JPG、PNG格式，较好的效果为大图360*200，小图200*200  
	
	@XmlCDATA
	@XmlElement(name="Url")
	private String url;				//  否  点击图文消息跳转链接  
	
	public Item() {
		super();
	}
	
	public Item(String title, String description, String picUrl, String url) {
		super();
		this.title = title;
		this.description = description;
		this.picUrl = picUrl;
		this.url = url;
	}
	
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public String getPicUrl() {
		return picUrl;
	}
	public void setPicUrl(String picUrl) {
		this.picUrl = picUrl;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
}
